//
//  InsuranceDeviceDetailsViewController.h
//  PhotoAnnotate
//
//  Created by Bassem El-Tamimi on 25.01.11.
//  Copyright 2011 ePapyrus GmbH. All rights reserved.
//

#import <UIKit/UIKit.h>

@class Insurance;

@interface InsuranceDeviceDetailsViewController : UIViewController <UINavigationControllerDelegate, UIAlertViewDelegate> {
	Insurance *insuranceData;
		
	IBOutlet UILabel *deviceName;
	//IBOutlet UILabel *deviceUDID;
	//IBOutlet UILabel *purchaseDateLabel;
	//IBOutlet UILabel *tooOldToInsureText;
	
	IBOutlet UIDatePicker *datePicker;
	
	NSTimeInterval aYearAndABit;
	
	BOOL invalidDateFlag;
}

@property (nonatomic, retain) Insurance *insuranceData;

@property (nonatomic, retain) UIDatePicker *datePicker;
@property (nonatomic, assign) NSTimeInterval aYearAndABit;

@property (nonatomic, assign) BOOL invalidDateFlag;


- (IBAction)dateChanged:(id)sender;


@end
